#include "image_tool.h"

void load_images()
{
    images_g[0] = image1_g;
    images_g[1] = image2_g;
    images_g[2] = image3_g;
    images_g[3] = image4_g;
    images_g[4] = image5_g;
}

void show_image_fullscreen(struct surface_t *screen, struct gimage image_g)
{
    struct surface_t *image_obj = surface_alloc_from_gimage(&image_g);
    image_obj->info.fmt = PIXEL_FORMAT_ARGB_8888;
    surface_blit(screen, &screen->clip, image_obj, &screen->clip, BLEND_MODE_REPLACE);
    surface_free(image_obj);
}